package com.javaee.mapper.admin;

import com.javaee.entity.Mzgh;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface MzghRepository {
    int selectCount();
    public List<Mzgh> search(String mykey);
    List<Mzgh> findAllMzghByPage(@Param("startIndex") int startIndex, @Param("perPageSize") int perPageSize);
}
